/**
 * Project Name:my_project
 * File Name:AnimalUtils.java
 * Package Name:com.lvman.utils
 * Date:2014年9月23日下午3:51:38
 * Copyright (c) 2014.
 *
 */

package com.gjj.abox.utils;

import android.view.View;
import android.view.animation.Animation;
import android.view.animation.AnimationUtils;

import com.gjj.abox.database.R;

/**
 * ClassName:AnimalUtils <br/>
 * Function: TODO ADD 动画相关类 Reason: TODO ADD REASON. <br/>
 * Date: 2014年9月23日 下午3:51:38 <br/>
 * 
 * @author Administrator
 * @version
 * @since JDK 1.6
 * @see
 */
public class AnimalUtils {

	public static void shakeAnimal(View view) {
		if (view != null) {
			Animation shake = AnimationUtils.loadAnimation(view.getContext(),
					R.anim.shake);
			view.startAnimation(shake);
		}

	}
}
